package com.itheima.apis.admin;


import com.itheima.model.common.admin.dtos.ChannelDto;
import com.itheima.model.common.admin.pojos.AdChannel;
import com.itheima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "频道管理",tags = "channel",description = "频道管理API")
public interface AdChannelControllerApi {
/*频道分页查询列表
* */@ApiOperation("频道分页列表查询")
    public ResponseResult findbyNameAndPage(ChannelDto channelDto);
    @ApiOperation("频道添加")
    public ResponseResult insert(AdChannel adChannel);
    @ApiOperation("修改频道")
    public ResponseResult update(AdChannel adChannel);
    @ApiOperation("删除频道")
    public ResponseResult deleteById(Integer id);
}
